<template>
  <div class="container">
    <div class="header">
      <p>
        <i class="fa fa-user-circle fa-4x"></i>
      </p>
      <p>会员登录</p>
    </div>
    <div class="content">
      <mt-field label="用户名" placeholder="请输入用户名" v-model="username" class="input"></mt-field>
      <mt-field label="密码" placeholder="请输入密码" type="password" v-model="password" class="input margin-top"></mt-field>
      <mt-button type="primary" size="large" class="btn">登录</mt-button>
    </div>

  </div>
</template>

<script>
export default {
  name: "login",
  data() {
    return {
      username: "",
      password: ""
    };
  },
  mounted() {}
};
</script>

<style lang="scss" scoped>
.container {
  width: 100%;
}
.header {
  width: 100%;
  & > p {
    width: 100%;
    text-align: center;
    color: #26a2ff;
  }
  p:nth-child(1) {
    padding-top: 50px;
  }
  p:nth-child(2) {
    height: 100px;
    line-height: 100px;
    font-size: 28px;
  }
}
.content {
  & > .input {
    width: 80%;
    margin: 0 auto;
  }
  & > .btn {
    width: 80%;
    margin: 0 auto;
    margin-top: 35px;
  }
}
.content .margin-top {
  margin-top: 30px;
}
</style>
